dhcpv6: create struct dhcpv6_lease
authorDavid Härdeman <[email protected]>
Thu, 9 Oct 2025 05:26:00 +0000 (07:26 +0200)
committerÁlvaro Fernández Rojas <[email protected]>
Tue, 4 Nov 2025 07:51:20 +0000 (08:51 +0100)
commitd44af6dd8f4e1dd0d858ae19419057ab4f319310
tree438d534e60013ff0f1acb764ef369e9883e484cb
parent4df45c8c37227b67319ca39ee4eb2d21966ee693
dhcpv6: create struct dhcpv6_lease

This concludes the lease/assignment struct saga. "struct dhcp_assignment" is
converted to "struct dhcpv6_lease" and various function names, etc are updated.

I intentionally did *not* change variable names here to keep the patch as
simple as possible. Therefore, the DHCPv6 codebase is still full of lots of
variables named things like "a". I expect that to change over time when I
tackle DHCPv6 code in ernest. But it'll have to do for now.

Signed-off-by: David Härdeman <[email protected]>
Link: https://github.com/openwrt/odhcpd/pull/292
Signed-off-by: Álvaro Fernández Rojas <[email protected]>
src/config.c
src/dhcpv6-ia.c
src/odhcpd.h
src/ubus.c